package com.pxxy.yuyi.service;

import com.github.pagehelper.PageInfo;
import com.pxxy.yuyi.entity.Teachers;

import java.util.List;

/**
 * Created by IntelliJ IDEA
 *
 * @Author : XuWen
 * @create 2021/6/19 16:56
 */
public interface TeachersService {


    PageInfo<Teachers> selectTealist(Teachers teachers,Integer pageNum);
    Teachers selectById(Integer tid);

    Integer updateTeacher(Teachers teachers);

    void deleteTeachers(Integer tid);

    void insertTeachers(Teachers teachers);
}
